<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 19215
  Date: 2023/6/4
  Time: 23:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>商品</title>
</head>
<body>
<h2>用户列表</h2>
<table border="1">
    <tr>
        <td>ID</td>
        <td>姓名</td>
        <td>邮箱</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${uli}" var="user" varStatus="status">
        <tr>
            <td width="50px">${status.count}</td>
            <td width="50px">${user.username}</td>
            <td width="50px">${user.tel}</td>
            <td width="50px"><a href="${pageContext.request.contextPath}/userdetail?id=${user.id}">详情</a> </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>